try{
	Type.registerNamespace('FactoryVO');
	
	//基础档案-工厂VO
	FactoryVO = function(){};
	FactoryVO.prototype = new NCMMPubUtil.SuperVO();
	FactoryVO.PKFACTORY={
		name:"pk_factory", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	FactoryVO.CODE={
		name:"code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	FactoryVO.NAME={
		name:"name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	FactoryVO.SHORTNAME={
		name:"shortname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	//工厂所属集团编码
	FactoryVO.PKGROUP={
		name:"pk_group", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	FactoryVO.prototype.getAllAttrs = function(){
		return [FactoryVO.PKFACTORY,
				FactoryVO.CODE,
				FactoryVO.NAME,
				FactoryVO.SHORTNAME,
				FactoryVO.PKGROUP];
	};
	FactoryVO.prototype.getTableName = function(){
		return "app_org_factory";
	};
	FactoryVO.prototype.getPrimaryAttr = function(){
		return FactoryVO.PKFACTORY;
	};
}catch(e){$e(e);}